#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include "stack.h"
#include "queue.h"
using namespace std;

int main()
{
	ljt::stack<int> s;
	ljt::queue<int> q;
	for (int i = 4; i < 8; i++)
	{
		q.push(i);
	}
	s.push(1);
	s.push(2);
	s.push(3);
	while (!s.empty())
	{
		cout << s.top() << ' ';
		s.pop();
	}
	cout << endl;
	while (!q.empty())
	{
		cout << q.front() <<  ' ';
		q.pop();
	}
	return 0;
}